package com.eastcom.providor.service.extview;

import java.util.ArrayList;
import java.util.List;

import com.eastcom.bm.atom.Atom_NeType;
import com.eastcom.client.MapEntryNode;

public class ConstConfigUtil {

	public static List<MapEntryNode> createNeTypeConfig(List<Atom_NeType> list){
		List<MapEntryNode> result=new ArrayList<MapEntryNode>();
		for(Atom_NeType at:list){
			MapEntryNode node=new MapEntryNode();
			node.setId(at.getId());
			node.setName(at.getcName());
			result.add(node);
		}
		return result;
	}
}
